<?php
use Pagerfanta\Task;
/* include 'vendor/autoload.php'; */
include 'Task.php';
$task=new Task();
$task->addTask(function(){
   // echo "需要运行的任务";
}, "测试命令一ABC", "1@s");
$task->addTask(function(){
   // echo "需要运行的任务";
}, "测试命令一", "1@s");
$task->start();